<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
    <title>亿乐购后台管理系统</title>
    <link rel="stylesheet" href="/wcs/Public/admin/css/pintuer.css">
    <link rel="stylesheet" href="/wcs/Public/admin/css/admin.css">
    <script src="/wcs/Public/admin/js/jquery.js"></script>
    <script src="/wcs/Public/admin/js/pintuer.js"></script>
    <script src="/wcs/Public/admin/js/respond.js"></script>
    <script src="/wcs/Public/admin/js/admin.js"></script>
    <link type="image/x-icon" href="/favicon.ico" rel="shortcut icon" />
    <link href="/favicon.ico" rel="bookmark icon" />
    <!-- 刷新验证码 -->
    <script type="text/javascript">
    	function getVerify(){
    		$('#verify').attr('src',"<?php echo U('admin/login/verify');?>");
        	}
    </script>
</head>

<body>
<div class="container">
    <div class="line">
        <div class="xs6 xm4 xs3-move xm4-move">
            <br /><br />
            <div class="media media-y">
                <h1 href="#" target="_blank">云超市后台管理系统</h1>
            </div>
            <br /><br />
            <form action="<?php echo U('admin/login/check');?>" method="post">
            <div class="panel">
                <div class="panel-head"><strong>登录云超市后台管理系统</strong></div>
                <div class="panel-body" style="padding:30px;">
                    <div class="form-group">
                        <div class="field field-icon-right">
                            <input type="text" class="input" name="name" placeholder="登录账号" data-validate="required:请填写账号,length#>=5:账号长度不符合要求" />
                            <span class="icon icon-user"></span>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="field field-icon-right">
                            <input type="password" class="input" name="password" placeholder="登录密码" data-validate="required:请填写密码,length#>=5:密码长度不符合要求" />
                            <span class="icon icon-key"></span>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="field">
                            <input type="text" class="input" name="verify" placeholder="填写右侧的验证码" data-validate="required:请填写右侧的验证码" />
                            <img id="verify" src="/wcs/index.php?m=admin&c=login&a=Verify" width="80" height="32" class="passcode" onclick="getVerify()"/>
                        </div>
                    </div>
                </div>
                <div class="panel-foot text-center"><button class="button button-block bg-main text-big">立即登录后台</button></div>
            </div>
            </form>
            <div class="text-right text-small text-gray padding-top"><?php echo C('version');?></div>
        </div>
    </div>
</div>

</body>
</html>